import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
import { rules } from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '流程实例id',
    align: "center",
    dataIndex: 'processInstanceId'
  },
  {
    title: '流程定义id',
    align: "center",
    dataIndex: "processDefinitionId"
  },
  {
    title: '流程实例名称',
    align: "center",
    sorter: true,
    dataIndex: 'processVariables',
    slots: { customRender: 'processName' },

  },
  {
    title: '流程发起者',
    align: "center",
    sorter: true,
    dataIndex: 'processVariables',
    slots: { customRender: 'processApplyUser' },
  },
  {
    title: '运行节点',
    align: "center",
    dataIndex: 'taskName'
  },
  {
    title: '任务定义key',
    align: "center",
    dataIndex: 'taskDefinitionKey'
  },
  {
    title: '创建时间',
    align: "center",
    dataIndex: 'createTime'
  }
];
